package com.photoeditor.demo.ui.widget.sticker;

import android.content.Context;
import android.support.constraint.ConstraintLayout;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;

import com.photoeditor.demo.model.store.module.StoreOnlineBean;
import com.photoeditor.demo.model.store.module.StoreOnlineManager;

/**
 * Created by Lai on 2019/7/8 0008.
 */
public class StickerMaskView extends ConstraintLayout implements View.OnClickListener, View.OnTouchListener {

    public StickerMaskView(Context context) {
        super(context);
    }

    public StickerMaskView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public StickerMaskView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }


    @Override
    protected void onFinishInflate() {
        super.onFinishInflate();
        setOnTouchListener(this);
    }

    @Override
    protected void onAttachedToWindow() {
        super.onAttachedToWindow();
        setVisibility(VISIBLE);
    }

    @Override
    protected void onDetachedFromWindow() {
        super.onDetachedFromWindow();
    }

    @Override
    public boolean onTouch(View v, MotionEvent event) {
        return true;
    }

    @Override
    public void onClick(View v) {

    }


}
